<script type="text/javascript" src="http://static.ak.connect.facebook.com/js/api_lib/v0.4/FeatureLoader.js.php"></script>

<script type="text/javascript">

	function update_user_box() {
		
		var user_box = document.getElementById('user');
		
		user_box.innerHTML = "<span>"
								+"<p class='fb_image'><fb:profile-pic uid='loggedinuser' facebook-logo='true'></fb:profile-pic></p>"
								+"<p class='fb_details'>Welcome, <fb:name uid='loggedinuser' useyou='false'></fb:name>.<br />"
								+"You are signed in with your Facebook account.</p>"
								+"</span>";
								
		FB.XFBML.Host.parseDomTree();
		
	}

	FB.init("f41ab27e0079db2752805afab736bc8a", "/social/connect_with_facebook");

</script>

<h2><?php echo $this->template->header ?></h2>

<fb:comments></fb:comments>

<div id="user">
	<?php
	
		
	
	?>
</div>

<div class="clearfix"></div>